package hibernate;
import javax.persistence.Id;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;

@Entity
@Table(name="user_info")
public class User {
	@Id
	@Column(name="user_name")
	private String user_name;
	
	@Column(name="password")
	private String password;

	@Column(name="email")
	private String e_mail;
	
	@Column(name="id")
	private int id;
	
	
	/*private void user(){}
	
	private void user(String e_mail,String password){
		this.e_mail=e_mail;
		this.password=password;}
	private void user(String e_mail,String password,String user_name)
	{
	   this.e_mail=e_mail;
	   this.password=password;
	   this.user_name=user_name;
	}*/

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getE_mail() {
		return e_mail;
	}

	public void setE_mail(String e_mail) {
		this.e_mail = e_mail;
	}
	
	
	
}
	 

